<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- 先加载框架的css,再加载自己的css,自己的css权重比框架高, -->
  <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
  <link rel="stylesheet" href="./assets/css/login.css">
  <title>大事件</title>
</head>
<body>
  <img src="./assets/images/logo.png" alt="" id="logo">

  <!-- 登录 -->
  <div class="login box" >
    <h1>大事件后台管理系统</h1>
    <form class="layui-form" action="" lay-filter="example">
      <!-- 用户名 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-username"></i>
          <input type="text" name="username" lay-verify="title" autocomplete="off" placeholder="请输入用户名" class="layui-input">
      </div>
      <!-- 密码 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password" ></i>
        <input type="password" name="password" placeholder="请输入密码" autocomplete="off" class="layui-input">
      </div>
      <!-- 按钮 -->
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">登录</button>
      </div>
      <!-- 超链接 -->
      <div class="layui-form-item">
        <a href="javascript:;">去注册账号</a>
      </div>
    </form>
  </div>
  <!-- 登录END -->

  <!-- 注册 -->
  <div class="login register">
    <h1>大事件后台管理系统</h1>
    <form class="layui-form" action="" lay-filter="example">
      <!-- 用户名 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-username"></i>
          <input type="text" name="username" lay-verify="required|user" autocomplete="off" placeholder="请输入用户名" class="layui-input">
      </div>
      <!-- 密码 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password" ></i>
        <input type="password" name="password" lay-verify="required|pwd"placeholder="请输入密码" autocomplete="off" class="layui-input pwd">
      </div>
      <!-- 确认密码 -->
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password" ></i>
        <input type="password" lay-verify="required|same" placeholder="请输入密码" autocomplete="off" class="layui-input">
      </div>
      <!-- 按钮 -->
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">提交</button>
      </div>
      <!-- 超链接 -->
      <div class="layui-form-item">
        <a href="javascript:;">去登录</a>
      </div>
    </form>
  </div>
  <!-- 注册END -->

  <script src="./assets/lib/jquery.js"></script>
  <script src="./assets/lib/layui/layui.js"></script>
  <script src="./assets/js/common.js"></script>
  <script src="./assets/js/login.js"></script>
</body>
</html>